package com.spring.boot.springBoot.redisEache.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * Created by pactera on 2017/9/28.
 */
@Configuration
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 60)//1分钟失效 默认180S
public class RedisSessionConfig {
}
